import request from '@/utils/request'

// 查询物流企业仓库信息列表
export function listLogisticsCompanyStore(query) {
  return request({
    url: '/reportInfo/logisticsCompanyStore/list',
    method: 'get',
    params: query
  })
}

// 查询物流企业仓库信息详细
export function getLogisticsCompanyStore(id) {
  return request({
    url: '/reportInfo/logisticsCompanyStore/' + id,
    method: 'get'
  })
}

// 新增物流企业仓库信息
export function addLogisticsCompanyStore(data) {
  return request({
    url: '/reportInfo/logisticsCompanyStore',
    method: 'post',
    data: data
  })
}

// 修改物流企业仓库信息
export function updateLogisticsCompanyStore(data) {
  return request({
    url: '/reportInfo/logisticsCompanyStore',
    method: 'put',
    data: data
  })
}

// 删除物流企业仓库信息
export function delLogisticsCompanyStore(id) {
  return request({
    url: '/reportInfo/logisticsCompanyStore/' + id,
    method: 'delete'
  })
}
